package com.example.tellwin.mine.bean;

import androidx.annotation.NonNull;

/**
 * @author : LinZePeng
 * @date : 2020/12/2
 * @Describe ：
 **/
public class MandarinBeam implements CharSequence {
    private String mandarinId;
    private String mandarinName;
    private String createTime;

    public String getMandarinId() {
        return mandarinId;
    }

    public void setMandarinId(String mandarinId) {
        this.mandarinId = mandarinId;
    }

    public String getMandarinName() {
        return mandarinName;
    }

    public void setMandarinName(String mandarinName) {
        this.mandarinName = mandarinName;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    @Override
    public int length() {
        return mandarinName.length();
    }

    @Override
    public char charAt(int index) {
        return mandarinName.charAt(index);
    }

    @NonNull
    @Override
    public CharSequence subSequence(int start, int end) {
        return mandarinName.subSequence(start, end);
    }

    @NonNull
    @Override
    public String toString() {
        return mandarinName;
    }
}
